Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard code expected labels on obsreport tests #1083

Merged

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Jun 4, 2020

The goal is to prevent inadvertent changes of the labels. Using hard coded values requires manual changes of the tests.

Description:
Part of complete the switch to the new metrics, see #1082

Link to tracking Issue: #1082

The goal is to prevent inadvertent changes of the labels. Using hard coded values requires manual changes of the tests.
obsreport/obsreport_test.go Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 4, 2020

Codecov Report

Merging #1083 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1083   +/-   ##
=======================================
  Coverage   86.29%   86.29%           
=======================================
  Files         200      200           
  Lines       14166    14166           
=======================================
  Hits        12225    12225           
  Misses       1481     1481           
  Partials      460      460           
Impacted Files Coverage Δ
translator/internaldata/resource_to_oc.go 73.52% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41cdf13...79bad9c. Read the comment docs.

@pjanotti pjanotti merged commit 975041a into open-telemetry:master Jun 4, 2020
@pjanotti pjanotti deleted the hard-code-names-on-obsreport-test branch June 4, 2020 17:17
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
* Hard code expected labels on obsreport tests

The goal is to prevent inadvertent changes of the labels. Using hard coded values requires manual changes of the tests.

* Add reason to be careful about metric name and label changes
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
swiatekm pushed a commit to swiatekm/opentelemetry-collector that referenced this pull request Oct 9, 2024
* Update Operator README.md

* bump operator chart patch version

* generate-examples

---------

Co-authored-by: Tyler Helmuth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants